package org.paradise.dms.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.BatchSize;

/**
 * 
 * Description: 公寓表
 * 
 * Copyright (c) 2008-2009 paraDise sTudio(DT). All Rights Reserved.
 * 
 * @version 1.0 2009-3-18 上午02:25:54 李双江（paradise.lsj@gmail.com）created
 */
@Entity
@Table(name = "apartment")
@BatchSize(size = 50)
public class Apartment {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private String apartmentid; // 公寓id
	private String apartmentname; // 公寓名称
	private String apartmentfloornum; // 公寓楼层数目
	private String apartmentmgrname;// 公寓楼管理员姓名
	private String apartmenttelephone;// 公寓楼电话
	private String apartmenttotalrooms;// 公寓楼总房间数
	private String apartmentind;// 公寓楼删除状态
	private String apartmentavailrooms; // 公寓可以入住的人数（空床位数目）

	public String getApartmentavailrooms() {
		return apartmentavailrooms;
	}

	public void setApartmentavailrooms(String apartmentavailrooms) {
		this.apartmentavailrooms = apartmentavailrooms;
	}

	public String getApartmentid() {
		return apartmentid;
	}

	public void setApartmentid(String apartmentid) {
		this.apartmentid = apartmentid;
	}

	public String getApartmentname() {
		return apartmentname;
	}

	public void setApartmentname(String apartmentname) {
		this.apartmentname = apartmentname;
	}

	public String getApartmentfloornum() {
		return apartmentfloornum;
	}

	public void setApartmentfloornum(String apartmentfloornum) {
		this.apartmentfloornum = apartmentfloornum;
	}

	public String getApartmentmgrname() {
		return apartmentmgrname;
	}

	public void setApartmentmgrname(String apartmentmgrname) {
		this.apartmentmgrname = apartmentmgrname;
	}

	public String getApartmenttelephone() {
		return apartmenttelephone;
	}

	public void setApartmenttelephone(String apartmenttelephone) {
		this.apartmenttelephone = apartmenttelephone;
	}

	public String getApartmenttotalrooms() {
		return apartmenttotalrooms;
	}

	public void setApartmenttotalrooms(String apartmenttotalrooms) {
		this.apartmenttotalrooms = apartmenttotalrooms;
	}

	public String getApartmentind() {
		return apartmentind;
	}

	public void setApartmentind(String apartmentind) {
		this.apartmentind = apartmentind;
	}
}
